package cn.tedu.charging.cost.dao.repository;

import cn.tedu.charging.cost.pojo.po.ChargingCostRulePO;

import java.util.List;

public interface CostRuleCacheRepository {

    List<ChargingCostRulePO> getCostRulesFromRedisByStationId(Integer stationId);

    void saveCostRules2Redis(Integer stationId, List<ChargingCostRulePO> dbCostRules);
}
